op {
  graph_op_name: "IsFinite"
  summary: "Returns which elements of x are finite."
  description: <<END
@compatibility(numpy)
Equivalent to np.isfinite
@end_compatibility

Example:

```python
x = tf.constant([5.0, 4.8, 6.8, np.inf, np.nan])
tf.math.is_finite(x) ==> [True, True, True, False, False]
```
END
}
